import 'package:flutter/cupertino.dart';

class FilterModel extends ChangeNotifier {
  String _curOpt = '';
  var location = '';
  Map _rentBtnPos = {
    'left': 0,
    'right': 0,
  };

  get curOpt => _curOpt;
  get rentBtnPos => _rentBtnPos;

  void setCurOpt(String value) {
    _curOpt = value;
    notifyListeners();
  }

  void setLocation(var value) {
    location = value;
    notifyListeners();
  }

  void setRentBtnPos(Map value) {
    _rentBtnPos = value;
    notifyListeners();
  }
}
